package cn.wikiflyer.beikang.payali;

public interface IPay {

	public static final String PARTNER = "2088911385519945";

	// 最在生成
	public static final String SELLER = "2088911385519945";

	// 老宋周三晚测试的
	public static final String RSA_PRIVATE = "MIICeQIBADANBgkqhkiG9w0BAQEFAASCAmMwggJfAgEAAoGBAM5LsrOfQKWDNXTV"
			+ "DaNdPKSWTlTMRuZU20d+FHO6P1cV7OaiwB3//lTJc/TBucGGo45EBGLTnLUuKDmf"
			+ "x/ak5lf+SimdmC4CM334XTYLNMlvktHdj5zy3Y5rPDvSq5PTOH2xx1kKHE8RMvUn"
			+ "twe0ZnhwpnaHfqoLgmUjy8mwYPZ5AgMBAAECgYEAy/w3+Lr47nBeVGczNB1GkKx7"
			+ "Sggv9yNjLD80M/avGQp6FNhLRZ7Sur30ZcmFRyI96bfB6oK6SsEYT1p6HJ2TkRo9"
			+ "cnhOqEMW1W7CEa/hqAkRcUdz5dN/+oYVxGPHXiGcPPEU+Zf8pdJ6oFAp4woXCL+J"
			+ "49i7ZtkzLEN9t9gwrt0CQQDpgijivZsS80eZvMdYgKQ3uwsnSeYjjW7Bl0/aRuSR"
			+ "aL1zJ6lR8ngdSeJnvZfVswlxKp5tEuLCS2pQd6dTDCSPAkEA4iqHH+jMFyhhnNoZ"
			+ "Xm6B6IQp9Yy31doKiRZpcyFbkjebDtPql8Xa2/gS6KOsGSzJoWreG/8KW6jFLQ0N"
			+ "gLCIdwJBAMRUGYg6nu3Z+jN6k6kH0ArDiucnrQXrXloKnKsLvBW+GLt/d09dLDyD"
			+ "6IYM1GJqu9+YU8elf16ZBfROBjM/HGUCQQCqEvcIHOUU6Q32iOAY7hsMwg5Xk9lO"
			+ "nKfdjRgBNu2Il/4neV7pgSTi07tMbIBnchGyLA4YmYKtiM214iHsS1RjAkEA3ox0"
			+ "QsMjAdHKYqqfH55zqPiad9sqOtkg7CmzdXeEUArcyjFHVQUtzXgDtT2AvqohKWZN"
			+ "AH67XoCSMurt3eWwCQ==";

	public static final String RSA_PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
//	public static final String Notify_url = "?m=pay&c=respond&a=respond_post&code=alipay";
	public static final String Notify_url = "?m=alipay&c=alipay&a=notify_url";
	
	//http://bk.ngrok.io/index.php?m=alipay&c=alipay&a=notify_url
	// 正式的
	// public static final String Notify_url =
	// "?m=pay&c=respond&a=respond_post&code=alipay";

	// 老宋周三晚测试的
	// public static final String Notify_url =
	// "?m=alipay&c=alipay&a=notify_url";

	public static final int SDK_PAY_FLAG = 1;

	public static final int SDK_CHECK_FLAG = 2;

	/**
	 * create the order info. 创建订单信息
	 */
	public String getOrderInfo(String subject, String body, String price);

	/**
	 * call sdk pay. 调用SDK支付
	 */
	public void Pay();

	public String sign(String content);
}
